package com.maun.test_entity;

import com.maun.maun.MaunParameters;

public abstract class BaseEntity implements Entity {

    private long id;
    private short version;
    
    @MaunParameters (maxLength = 300)
    private String name;

    @Override
    public final long getId() {
        return id;
    }

    @Override
    public final void setId(long id) {
        this.id = id;
    }

    @Override
    public final short getVersion() {
        return version;
    }

    @Override
    public final void setVersion(short version) {
        this.version = version;
    }

    @Override
    public final String getName() {
        return name;
    }

    @Override
    public final void setName(String name) {
        this.name = name;
    }
    
}
